/***********************************************
 * Title:       ISpecialityRecordDap.java
 * Description: ISpecialityRecordDap.java
 * Author:      Niyuzhe
 * Create Date: 2009-12-18
 * CopyRight:   CopyRight(c)@2009
 * Company:     TJUSCS
 * Version:     1.0
 ***********************************************
 */
package edu.tju.education;

import java.sql.SQLException;
import java.util.List;

/**
 * @author Niyuzhe
 * 
 */
public interface ISpecialityRecordDao
{
        public SpecialityRecord getSpecialityRecordById( long id ) throws SQLException;

        public List<SpecialityRecord> getSpecialityRecordAnd(SpecialityRecord specialityRecord) throws SQLException;

        public List<SpecialityRecord> getSpecialityRecordOr(SpecialityRecord specialityRecord) throws SQLException;

        public Long insertSpecialityRecord(SpecialityRecord specialityRecord) throws SQLException;

        public int updateSpecialityRecord(SpecialityRecord specialityRecord) throws SQLException;

        public int deleteSpecialityRecord(long id) throws SQLException;
}
